﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DefaultStyle.Master" AutoEventWireup="true" CodeBehind="SanPham.aspx.cs" Inherits="Dack_Web2.SanPham" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="float:left; width: 648px;">        
<div id="tDealCrawler">
    <div id="tDealSponsor" style="width: 640px;">       
        <asp:DataList ID="DtSanPham" runat="server" CellPadding="3" Height="113px" BackColor="White" BorderColor="#999999" BorderStyle="None" 
            BorderWidth="1px" GridLines="Vertical" RepeatColumns="3">
            <AlternatingItemStyle BackColor="#DCDCDC" />
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <ItemStyle BackColor="#EEEEEE" ForeColor="Black" />
			<ItemTemplate>
            <div class="gallery">
                  <asp:HyperLink ID="HyperLink2" runat="server" ImageUrl='<%# "~/Images/SanPhamSmall/"+Eval("HinhGioiThieu") %>' NavigateUrl='<%# "~/Images/SanPham/"+Eval("HinhGioiThieu") %>'>HyperLink</asp:HyperLink>
                </div>
                <br />
                Tên sản phẩm: <b><asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl='<%# "~/ThongTinSanPham.aspx?MaSanPham="+Eval("MaSanPham") %>' Text='<%#  Eval("TenSanPham") %>'></asp:HyperLink>
                <br />
                </b>
                <br />
                    Ngày kết thúc :&nbsp; <asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="#3333FF" Text='<%# string.Format("{0:dd/MM/yyyy}",Eval("NgayKetThuc")) %>'></asp:Label>
                    <br />
                   <br />
                   Giá gốc:<asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="#CC3300" Text='<%# Eval("GiaSanPham") %>'></asp:Label>
                                    <br />
                    <br />
                    Giảm còn:<asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="#CC3300" Text='<%# Eval("DaGiam") %>'></asp:Label>
            </ItemTemplate>
            <SelectedItemStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
        </asp:DataList>
        </div>
    <center>
    <asp:Panel ID="Panel1" runat="server">
    </asp:Panel>
    </center>
    </div>
</div>        
</asp:Content>
                                                               